//
//  FenleiBianjiTableViewCell.swift
//  联付商圈
//
//  Created by zhangqi on 2017/8/18.
//  Copyright © 2017年 lianfu. All rights reserved.
//

import UIKit

class FenleiBianjiTableViewCell: UITableViewCell {

    
    @IBOutlet weak var bacimg: UIImageView!
    
    @IBOutlet weak var fenleiLab: UILabel!
    
    
    
    override func awakeFromNib() {
        super.awakeFromNib()
        //cell.selectionStyle = UITableViewCellSelectionStyle.None
        //.selectionStyle = UITableViewCellSelectionStyleBlue
        // Initialization code
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        if selected {
            self.backgroundColor = UIColor(red: 84/255, green: 155/255, blue: 219/255, alpha: 1)
            fenleiLab.textColor = UIColor.white
            //bacimg.isHidden = true
        }else {
            self.backgroundColor = UIColor.white
            fenleiLab.textColor = UIColor.black
            //bacimg.isHidden = false
        }
    }
    
    
}
